home *** CD-ROM | disk | FTP | other *** search
- Q33378 /Fs Does Not Correctly Align Comments in Listing
- C Compiler
- 5.00 5.10 | 5.10
- MS-DOS | OS/2
-
- Summary:
- The compiler option /Fs produces a listing in which comments
- preceded by blank spaces and/or tabs are not aligned in the same
- columns as they are in the source file; instead, they are offset to
- the left by one column.
- Comments that are preceded by code on the same line are not
- offset. Code that is preceded by blank spaces or tabs is not offset.
- Microsoft has confirmed this to be a problem in Version 5.10. We
- are researching this problem and will post new information as it
- becomes available.
- The following code demonstrates the problem:
-
- #define x 1 /*comment*/
- /*comment*/
- int y; /*comment*/
- int z; /*comment*/
-
- void main(void);
- void main(void)
- {
- }
-
- More Information:
- The following is part of the /Fs listing:
-
- 1 #define x 1 /*comment*/
- 2 /*comment*/
- 3 int y; /*comment*/
- 4 int z; /*comment*/
- 5
- 6 void main(void);
- 7 void main(void)
- 8 {
- 9 }
-
- This problem is encountered if you have a combination of tabs and
- spaces because the listing that is generated starts in column 9 rather
- than column 8, which causes tabs to be misaligned.
-
- Keywords: buglist5.10
- Updated 88/08/05 11:14
-